import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import './assets/fonts/iconfont.css'
import 'element-plus/dist/index.css'
import "./style.css";
import App from './App.vue'
import router from './router/router.js'
import { get, post } from './util/url'

const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(router);
app.config.globalProperties.$get = get
app.config.globalProperties.$post = post
app.use(ElementPlus)
app.mount('#app')
